<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
   <title>TomatoBase {% block 'title' %}{% endblock %}</title>
   <link rel="stylesheet" href="http://yui.yahooapis.com/2.5.1/build/reset-fonts-grids/reset-fonts-grids.css" type="text/css">
   <link rel='stylesheet'  href="{{media_url}}/tomato.css"></style>
</head>
<body>
<div id="doc" class="yui-t7">
   <div id="hd"><h1>TomatoBase</h1></div>
   <div id="bd">
        <div id="login">
	  {% if user %}
	    hello {{user}}
	  {% else %}
	    <a href="{{ login_url }}">login</a>
	  {% endif %}
	</div>

	<div class="yui-g">

	  {% block 'left_box' %}

	  {% endblock %}
	</div>
	
	</div>
   <div id="ft"><a href="http://weblog.lonelylion.com">Part of the Lonely Lion Empire</a></div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-193049-12");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>


